package com.spring.boot.sample.test2.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * 定义自定义配置：方式一  继续在application.properties中添加
* <p>Title:Wisely2Settings </p>
* <p>Description: </p>
* <p>Company: </p> 
* @author kexl
* @date 下午3:42:27
 */
@Component
@ConfigurationProperties(prefix="wisely2")
public class Wisely2Settings {

	private String name;
	private String gender;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	
	
}
